﻿@model List<SysClient>
@{
	var blocks = Model.Where(p => p.Blocked);
	var clients = Model.Where(p => !p.Blocked);
}
@if (blocks.Any())
{
	<b>你添加的会员可能是黑名单会员</b>
	foreach (var row in blocks)
	{
			<p>
				@row.SysNo
				@row.Name
				@row.SysClientBlockHistory.FirstOrDefault().Description
			</p>
   }
		
}
else if (clients.Any())
{
	<b>你添加的会员可能是重复的会员</b>
	foreach (var row in clients)
  {
	<p>
		@Ajax.ActionLink(row.SysNo, "Edit", new { id = row.ID }, new AjaxOptions { UpdateTargetId = "Main" })
		@row.Name
	</p>
  }
}